package com.master.wifimaster;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties(ignoreUnknown=true)
public class AccessPointPwd extends AccessPoint {
	private String _password;
	public AccessPointPwd() {
		
	}
	
	public AccessPointPwd(AccessPoint ap) {
		setSSID(ap.getSSID());
		setMac(ap.getMac());
		setCode(ap.getCode());
	}
	
	public void setPwd(String pwd) {
		this._password = pwd;
	}
	
	public String getPwd() {
		return this._password;
	}
	
	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(super.toString()).append(",Password=").append(this._password);
		return sb.toString();
	}
}
